package com.cirkana.viewer.share;

import com.cirkana.data.security.IUser;

public interface IShareServiceProxy {

	static final String SHARE_SERVICE_TWITTER = "twitter";
	static final String SHARE_SERVICE_FACEBOOK = "facebook";

	void setUser(IUser user) throws ShareServiceException;

	boolean hasAccess();

	String[] resolveAccess(String serviceUser, String servicePassword) throws ShareServiceException;

	void prepareAccess() throws ShareServiceException;

	void sendMessage(String message) throws ShareServiceException;

}
